package com.simple.business.domain.entity.evaluation;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.zuihou.base.entity.SuperEntity;
import com.simple.business.domain.enumeration.EvaluationTypeEnum;
import com.simple.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @desc
 * @Author Simple
 * @Date 2024/7/30 14:22
 **/
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@TableName("c_evaluation")
@ApiModel(value = "Evaluation", description = "测评")
@AllArgsConstructor
public class Evaluation extends SuperEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户id")
    @TableField(value = "user_id")
    @Excel(name = "用户id")
    private Long userId;

    @ApiModelProperty("孩子id")
    @TableField(value = "baby_id")
    @Excel(name = "孩子id")
    private Long babyId;

    @ApiModelProperty("开始时间")
    @TableField(value = "start_time")
    @Excel(name = "开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @TableField(value = "end_time")
    @Excel(name = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty("解析状态. 0-解析中，1-解析完成，2-异常")
    @TableField(value = "parse_status")
    @Excel(name = "解析状态. 0-解析中，1-解析完成，2-异常")
    private Integer parseStatus;

    @ApiModelProperty("枚举类型：InterviewType：TOOL-工具类型；COMPANY-企业类型")
    @TableField(value = "evaluation_type")
    @Excel(name = "枚举类型：InterviewType：TOOL-工具类型；COMPANY-企业类型")
    private EvaluationTypeEnum evaluationTypeEnum;

    @ApiModelProperty("是否删除")
    @TableField(value = "deleted")
    @Excel(name = "是否删除")
    private Boolean deleted;
}
